package com.hxkcloud.patient.viewholders;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.hxkcloud.patient.R;
import com.hxkcloud.patient.views.CircleImageView;

/**
 * Created by william_sun on 2016-07-18.
 * Description:消息主页联系人
 */
public class MsgMainViewholder extends RecyclerView.ViewHolder {

    public RelativeLayout rl_head;
    public CircleImageView iv_head;
    public TextView tv_num;
    public TextView tv_name;
    public TextView tv_date;
    public TextView tv_msg;

    public MsgMainViewholder(View itemView) {
        super(itemView);

        rl_head = (RelativeLayout) itemView.findViewById(R.id.rl_messagemain_head);
        iv_head = (CircleImageView) itemView.findViewById(R.id.iv_messagemain_head);
        tv_num = (TextView) itemView.findViewById(R.id.tv_messagemain_num);
        tv_name = (TextView) itemView.findViewById(R.id.tv_messagemain_name);
        tv_date = (TextView) itemView.findViewById(R.id.tv_messagemain_date);
        tv_msg = (TextView) itemView.findViewById(R.id.tv_messagemain_msg);
    }
}
